import qs from 'qs'
import { Service } from "cl-admin";
import BaseService from "@/service/base";

//企微客服
@Service("servicer")
class Servicer extends BaseService {

    list(params) {
		return this.$get("/list", { params });
	}

	eventList(params) {
		return this.$get("/eventList", { params });
	}

	addEvent(params) {
		return this.$post("/addEvent", { ...params })
	}

	editEvent(params) {
		return this.$post("/editEvent", { ...params })
	}
}

export default Servicer;